home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
games
/
wchss25d.zip
/
BCHSTALL.BA_
/
BCHSTALL.BA
Wrap
Text File
|
1996-04-16
|
579b
|
27 lines
@Echo off
If Not [%1]==[] Goto Finish
Echo %0 DOS>0.Bat
Echo %0 Windows>1.Bat
Set|Find "windir=" /C > {Test}.Bat
{Test}
:Finish
For %%V In (0 1 {Test}) Do Del %%V.Bat
Set OS=%1
If Not [%1]==[Windows] Goto Done
Echo %0 Windows3.1>0.Bat
Echo %0 Windows95>1.Bat
Set|Find "winbootdir=" /C > {Test}.Bat
{Test}
:Done
Goto %OS%
:Windows95
If Exist %winbootdir%\System\Ctl3dv2.Dll Goto End
Copy Ctl3dV2.Dll %winbootdir%\System
Goto End
:Windows3.1
If Exist %windir%\System\Ctl3dv2.Dll Goto End
Copy Ctl3dV2.Dll %windir%\System
Goto End
:DOS
:End
Del Ctl3dV2.Dll